/**
 * Wihidum - Efficient Broker Hierarchy for Publish Subscribe Middleware
 *
 * License      :   Apache License 2.0
 * Home Page    :   http://code.google.com/p/wihidum/
 * Mailing List :   wihidum@googlegroups.com
 */

package lk.mrt.cse.wihidum.publisher.processor;

import org.apache.axiom.om.*;

/**
 * Common interface for processing received messages
 */
public interface Processor
{

    /**
     * Process the received message
     *
     * @param requestElement Received message element
     * @return response after processing the message
     */
    OMElement processMessage (OMElement requestElement);

}
